<?php
require dirname(dirname(__FILE__)).'/class_online/testdvr.php';

$api = new DvrApi("802347936094","nctRSe5duRC3GDg4NeFK3k468za7x0An");
$param['app'] = "class_oncline_demo";
$param['stream'] = "stream_tea_82c2e03f2f6445ceacb879a416b8d264";

$rst = $api->get7DayDvrList($param);
$rst1 = json_encode($rst);

echo $rst1;